using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using mvLibrary.Helpers.Utils;

namespace fenk.Ventas.Cotizaciones
{
    public partial class SeguimientoCotizaciones : mvLibrary.BaseForm
    {
        public SeguimientoCotizaciones()
        {
            InitializeComponent();
        }
        public override void BeforeSaveItem()
        {
            // actualizar historial del seguimiento
            int ultimo = mvDataGridView2.Rows.Count + 1;
            UniItem.Replace(9, ultimo, DateTime.Now.ToShortDateString() + " " + UniItem.ExtractAsString(31));
            UniItem.Replace(30, ultimo, UniOldItem.ExtractAsString(19));
            UniItem.Replace(31,string.Empty);
        }
    }
}

